package domain.components;

import com.uqbar.vainilla.DeltaState;
import components.CollisionableComponent;

import domain.scenes.MainGameScene;
import domain.weapon.Explosion;
import domain.weapon.Projectile;
import domain.worm.Worm;

public abstract class WormsComponent extends CollisionableComponent<MainGameScene, WormsComponent> {

	public WormsComponent(int aDiameter, int aHeight, double x, double y) {
		super(aDiameter, aHeight, x, y);
	}

	@Override
	public boolean isSolid() {
		return false;
	}
	@Override
	protected void onCollisionWithSolid(WormsComponent gc) {
	}
		

	@Override
	protected abstract void defineCollide(WormsComponent gc);
	@Override
	protected abstract void effectiveUpdate(DeltaState deltaState);

	public void collideWithProyectile(Projectile bullet) {
		
	}

	public void collideWithExplosion(Explosion explosion) {
		
	}

	public void collideWithWorm(Worm worm) {
		
	}
		


}
